import random
from typing import List


class Solution:

    def __init__(self, nums: List[int]):
        self.nums = nums

    def reset(self) -> List[int]:
        """
        Resets the array to its original configuration and return it.
        """
        return self.nums

    def shuffle(self) -> List[int]:
        """
        Returns a random shuffling of the array.
        """
        data = self.nums.copy()
        random.shuffle(data)
        return data


if __name__ == "__main__":
    s = [1, 2, 3, 4, 5]
    print(Solution(s).shuffle())
